package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 examine
 *
 * @author ruoyi
 * @date 2025-04-26
 */
@TableName("examine")
@Data
@Accessors(chain = true)
public class Examine {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 业务ID
     */
    @Excel(name = "业务ID")
    @TableField(value = "business_id")
    private String businessId;

    /**
     * 审核状态
     */
    @Excel(name = "审核状态")
    @TableField(value = "status")
    private Integer status;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "create_by")
    private String createBy;

    @TableField(value = "create_time")
    private String createTime;

    /**
     *     类型: 事前、事后
     */
    @TableField(value = "type")
    private Integer type;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("businessId", getBusinessId())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .toString();
    }
}
